<?php

interface LightJob_IDaemon
{
	/**
	 * Sets the LightJob
	 *
	 * @param LightJob_ILightJob $lightJob
	 */
	public function setLightJob(LightJob_ILightJob $lightJob);
	
	/**
	 * Returns the LightJob
	 *
	 * @return LightJob_ILightJob
	 */
	public function getLightJob();
	
	/**
	 * Starts the daemon
	 *
	 */
	public function run();
	
	public function markStop();
	
}
